<script setup lang="ts">

import { ref } from 'vue'
import SonCon from './components/SonCon.vue';

// 定义数据
const Name =  ref('jack')
const Age = ref(18)
</script>

<template>
  我是父亲
  <!-- 向子组件传递数据 -->
<SonCon :name="Name" :age="Age">

</SonCon>

</template>

<style scoped>

</style>
